package org.spider.service.impl;

import org.spider.model.entity.SpiderAuthRoleEntity;
import org.spider.mapper.SpiderAuthRoleMapper;
import org.spider.service.SpiderAuthRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzy
 * @since 2022-06-17 09:39:16
 */
@Service
public class SpiderAuthRoleServiceImp extends ServiceImpl<SpiderAuthRoleMapper, SpiderAuthRoleEntity> implements SpiderAuthRoleService {

    @Override
    public List<String> getRoleName(Long userId) {
        return baseMapper.getRoleName(userId);
    }
}
